package com.ztman.rxjava.model.entityExtends.upload;

import com.squareup.okhttp.RequestBody;
import com.ztman.rxjava.server.retrofit.OnNetRequestListener;

import java.util.Map;

/**
 * Created by YJH on 2017/11/30.
 * 功能：接口-由UploadModelIml实现
 */

public interface UploadModel {
    //单文件上传
    void setUploadParams(Map<String, RequestBody> params, long id, final OnNetRequestListener listener);

    //多文件上传
    void setUploadParams(RequestBody requestBody, long id, final OnNetRequestListener listener);
}
